﻿using System;
using Dropit.Extension.Core;
using SocialPack.Composer.Extensions;

namespace SocialPack.Composer.modules.SocialPack.Composer.Functions.Disqus
{
    public partial class Comments : BaseContentFunction
    {
        protected override void OnLoad(EventArgs e)
        {
            base.OnLoad(e);

            if (ContentFunctionData.IsValue("DisqusShortName"))
            {
                this.CommentsControl.ShortName = ContentFunctionData.Property["DisqusShortName"].ToString();
            }
        }
    }
}